package kr.hkit.powerjava.chapter08.work;
class Book{
	private String title;
	private String author;
	
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	@Override
	public String toString() {
		return "book [title=" + title + ", author=" + author + "]";
	}
}// end of Book Class
public class BookTest {
	public static void main(String[] args) {
		Book b1 = new Book();
		b1.setTitle("별을 사랑하는 아이들아");
		b1.setAuthor("윤동주");
		
		System.out.println(b1);
	}
}// end of BookTest Class
